<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>跳转提示</title>
		<style>
			body{
				background-color: #fff;
				color:#A1A2AF;
				font-family:"Microsoft YaHei","Segoe UI","Lucida Grande",Helvetica,Arial,sans-serif
			} 
			.layout{
				width:1190px;
				margin:150px auto
			} 
			.err{
				position:relative;
				width:810px;
				height:301px;
				margin:50px auto 40px;
				background:url("/../static/admin/dist/img/500.png") no-repeat;
				font-size:14px
			} 
			.err_text{
				position:absolute;
				top:246px;
				left:239px
			} 
			.err_back{
				position:absolute;
				top:257px;
				left:353px;
				width:154px;
				height:38px;
				text-indent:-999px;
				overflow:hidden;
			}
			.errbut{
				position:absolute;
				top:257px;
				left:328px;
				background-color: #566FC9;
				width:154px;
				height:38px;
				color: #fff;
				border: 0;
				line-height: 38px;
				cursor: pointer;
			}
			.errbut:hover{
				background-color: #566FC9;
			}
			.errtie{
				/*color: #ddd;*/
				font-size: 45px;
				text-align: center;
			}
			.jump{
				position: absolute;
				text-align: center;
				top: 200px;
				width: 100%;
				font-size: 22px;
			}
		</style>
	</head>
	<body>
		<div class="layout">
		<div class="main">
            <div class="errtie"><?php echo(strip_tags($msg));?></div>
			<div class="err">
				<p class="jump">
		            页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
		        </p>
			</div>
		</div>
	</div>
	</body>
	<script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</html>
